//
//  OtherHead.m
//  Found
//
//  Created by 唐后能 on 16/4/2.
//  Copyright © 2016年 itheima. All rights reserved.
//

#import "XBOtherHead.h"
@interface XBOtherHead()

@property (weak, nonatomic) IBOutlet UILabel *nameLbl;

@end
@implementation XBOtherHead

// 返回otherHead
+ (instancetype)otherHead {
    
    return [[[NSBundle mainBundle] loadNibNamed:@"XBOtherHead" owner:nil options:nil] lastObject];
}

-(void)setName:(NSString *)name {

    _name = name;
    self.nameLbl.text = name;
}

@end
